package com.shameit.goodqrinfomanager.ui.activity.main;

import android.app.Application;
import android.content.Intent;

import androidx.annotation.NonNull;
import androidx.databinding.ObservableField;

import com.shameit.goodqrinfomanager.MyApplication;
import com.shameit.goodqrinfomanager.adapter.MenuAdapter;

import me.goldze.mvvmhabit.base.BaseModel;
import me.goldze.mvvmhabit.base.BaseViewModel;

public class MainViewModel extends BaseViewModel {

    public ObservableField<String> username = new ObservableField<>();
    public final static String avatar_url = "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597660825403&di=22ef27a8714d6ac2f8b957256dc859a4&imgtype=0&src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201309%2F26%2F20130926095128_SiPMh.jpeg";
    //public final static String top_bg_url = "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597660541369&di=c92d9f10fb54ab198780a6db8c801b62&imgtype=0&src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201505%2F04%2F20150504013225_XZNCu.thumb.700_0.jpeg";
    public final static String top_bg_url = "https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3082637711,49401290&fm=26&gp=0.jpg";
    public final static String small_avatar_url = "https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3587931294,482610785&fm=15&gp=0.jpg";
    public MenuAdapter adapter;

    public MainViewModel(@NonNull Application application) {
        super(application);
    }

    public MainViewModel(@NonNull Application application, BaseModel model) {
        super(application, model);
    }

}
